package com.wecon.springdemo.pattern.strategy;

/**
 * @author Weikang  Wang
 * @program: com.wecon.springdemo.pattern.strategy
 * @description:
 * @date 2020/4/10 15:59
 */
public class Application {
    public static void main(String[] args) {

        Context context = new Context(new King());
        String hit = context.hit();
        System.out.println(hit);

    }
}
